﻿using System;
using System.Windows.Input;
using System.Xml.Serialization;

namespace RemoteDesktop
{
    [Serializable]
    [XmlRoot("Data")]
    public class DataPakage
    {
        public static int TYPE_DEFAULT = 0;
        public static int TYPE_KEYBOARD = 1;
        public static int TYPE_MOUNSE = 2;
        public static int TYPE_SCREEN = 3;
        public static int TYPE_COMMAND = 4;
        public static int TYPE_COMMAND_RESAULT = 5;
        public int Type {  get; set; }
        public byte[] Data { get; set; }
        public string Tag { get; set; }
        public float PX { get; set; }
        public float PY { get; set; }
        public Key key { get; set; }
        public DataPakage() { }
        public DataPakage(int type)
        {
            Type = type;
        }
    }
}
